.class Lcom/htc/android/footprints/commonui/AudioRecordDialog$1;
.super Ljava/lang/Object;
.source "AudioRecordDialog.java"

# interfaces
.implements Lcom/htc/android/footprints/utils/StorageUtil$OnChangeStorageListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/commonui/AudioRecordDialog;->init()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/commonui/AudioRecordDialog;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/commonui/AudioRecordDialog;)V
    .locals 0
    .parameter

    .prologue
    .line 98
    iput-object p1, p0, Lcom/htc/android/footprints/commonui/AudioRecordDialog$1;->this$0:Lcom/htc/android/footprints/commonui/AudioRecordDialog;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onStorageChanged(I)V
    .locals 2
    .parameter "state"

    .prologue
    .line 99
    const/4 v0, 0x1

    if-le p1, v0, :cond_0

    .line 100
    iget-object v0, p0, Lcom/htc/android/footprints/commonui/AudioRecordDialog$1;->this$0:Lcom/htc/android/footprints/commonui/AudioRecordDialog;

    invoke-virtual {v0}, Lcom/htc/android/footprints/commonui/AudioRecordDialog;->terminateRecording()V

    .line 101
    iget-object v0, p0, Lcom/htc/android/footprints/commonui/AudioRecordDialog$1;->this$0:Lcom/htc/android/footprints/commonui/AudioRecordDialog;

    invoke-virtual {v0}, Lcom/htc/android/footprints/commonui/AudioRecordDialog;->dismiss()V

    .line 110
    :goto_0
    return-void

    .line 103
    :cond_0
    iget-object v0, p0, Lcom/htc/android/footprints/commonui/AudioRecordDialog$1;->this$0:Lcom/htc/android/footprints/commonui/AudioRecordDialog;

    #getter for: Lcom/htc/android/footprints/commonui/AudioRecordDialog;->mProgressHandler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/htc/android/footprints/commonui/AudioRecordDialog;->access$400(Lcom/htc/android/footprints/commonui/AudioRecordDialog;)Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/htc/android/footprints/commonui/AudioRecordDialog$1$1;

    invoke-direct {v1, p0}, Lcom/htc/android/footprints/commonui/AudioRecordDialog$1$1;-><init>(Lcom/htc/android/footprints/commonui/AudioRecordDialog$1;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    goto :goto_0
.end method
